RequestWillBeSentEvent

data class RequestWillBeSentEvent(requestId: RequestId, loaderId: LoaderId, documentURL: String, request: Request, timestamp: MonotonicTime, wallTime: TimeSinceEpoch, initiator: Initiator, redirectResponse: Response?, type: ResourceType?, frameId: FrameId?, hasUserGesture: Boolean?) : Event

Fired when page is about to send HTTP request.

Constructors

RequestWillBeSentEvent
Link copied to clipboard
fun RequestWillBeSentEvent(requestId: RequestId, loaderId: LoaderId, documentURL: String, request: Request, timestamp: MonotonicTime, wallTime: TimeSinceEpoch, initiator: Initiator, redirectResponse: Response? = null, type: ResourceType? = null, frameId: FrameId? = null, hasUserGesture: Boolean? = null)

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

documentURL
Link copied to clipboard
val documentURL: String
URL of the document this request is loaded for.
frameId
Link copied to clipboard
val frameId: FrameId? = null
Frame identifier.
hasUserGesture
Link copied to clipboard
val hasUserGesture: Boolean? = null
Whether the request is initiated by a user gesture.
initiator
Link copied to clipboard
val initiator: Initiator
Request initiator.
loaderId
Link copied to clipboard
val loaderId: LoaderId
Loader identifier.
redirectResponse
Link copied to clipboard
val redirectResponse: Response? = null
Redirect response data.
request
Link copied to clipboard
val request: Request
Request data.
requestId
Link copied to clipboard
val requestId: RequestId
Request identifier.
timestamp
Link copied to clipboard
val timestamp: MonotonicTime
Timestamp.
type
Link copied to clipboard
val type: ResourceType? = null
Type of this resource.
wallTime
Link copied to clipboard
val wallTime: TimeSinceEpoch
Timestamp.

Sources

jvm source
Link copied to clipboard